package com.mijie.homi.ns.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.mijie.core.IBatisDao;
import com.mijie.homi.common.domain.mood.Mood;
import com.mijie.homi.common.domain.mood.MoodInfo;
@Repository
public class MoodDao extends IBatisDao {

	public List<MoodInfo> listMoodInfo(){
		return this.selectList("listMoodInfo");
	}
	
	public Mood getRecentlyMood(int userId){
		return this.selectOne("getRecentlyMood", userId);
	}
}
